<?php
$atrFrm = array('class' => 'form-signin');
$atrInpUser = array('class' => 'input-block-level','type' => 'email','name' =>'username');
$atrInpPass = array('class' => 'input-block-level','type' => 'password','name' =>'userpass',);
$atrBtn = array('class' => 'btn btn-info','type' => 'submit');
$atrLbl = array('class' => 'label label-inverse');
echo form_open('users/validate_user',$atrFrm);
echo form_fieldset('<h3>Inicio de sesion</h3>');
echo form_label('<i class="icon-user icon-white"></i> Usuario','',$atrLbl);
echo form_input($atrInpUser);
echo form_label('<i class="icon-lock icon-white"></i> Password','',$atrLbl);
echo form_input($atrInpPass);
echo form_button($atrBtn,'Ingresar');
echo form_fieldset_close(); 
echo form_close();
